package com.itany.book.book.service;

import com.itany.book.pojo.Book;

import java.util.List;
import java.util.Map;

/**
 * Created by tyh on 2018/9/23.
 */
public interface IBookService {

    public void addDoc();

    Map<String,Object> findDoc(String keyword, Integer pageNo, int pageSize);

    List<Book> findAllBooks(String lastType);

    Book findById(Integer id);
}
